package cn.xxlucky.xssdk01.pojo.shard;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("增量内容实体类")
public class Delta {

    @ApiModelProperty(value = "角色", example = "assistant")
    @JSONField(name = "role")
    private String role;

    @ApiModelProperty(value = "增量内容", example = "你好")
    @JSONField(name = "content")
    private String content;

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
